package router

import (
	"gateway/handler/api"
	"github.com/gin-gonic/gin"
)

func LoadRouter(r *gin.Engine) {
	v1 := r.Group("/v1")
	{
		v1.POST("/class/create", api.ClassCreate)
		v1.POST("/order/create", api.OrderCreate)
		v1.GET("/order/detail", api.OrderDetail)
	}
}
